import request from '@/utils/request';

export async function query() {
  const data = await new Promise((resolve, reject) => {
    request('/api/report/page_all')
      .then(response => {
        resolve(response);
      })
      .catch(error => {
        reject(error);
      });
  });
  return data;
}
